﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://netdna.bootstrapcdn.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
<title>lecture2a</title>
<style>
    textarea[name=memo] { width: 500px; height: 200px; }
    label { margin-top: 20px; }
</style>
</head>
<div class="container">

<h1>User Data 입력 결과</h1>

<form method="post">
    <label>현재시각</label>
    <span class="uneditable-input">${ currentTime }</span>

    <label>이름</label>
    <span class="uneditable-input">${ userData.name }</span>

    <label>나이</label>
    <span class="uneditable-input">${ userData.age }</span>

    <label>무지개</label>
    <span class="uneditable-input">${ userData.color }</span>

    <label>성별</label>
    <span class="uneditable-input">${ userData.sex }</span>

    <label>메모</label>
    <pre>${ userData.memo }</pre>

    <div>
        <a href="input.do" class="btn btn-primary">다시입력</a>
    </div>
</form>

</div>

</body>
</html>
